﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.CharacterSheetSchema

    Public Class spell_critChance

        Private intRating As Integer
        Private sccArcane As New List(Of spellCritChance)
        Private sccFire As New List(Of spellCritChance)
        Private sccFrost As New List(Of spellCritChance)
        Private sccHoly As New List(Of spellCritChance)
        Private sccNature As New List(Of spellCritChance)
        Private sccShadow As New List(Of spellCritChance)

        <XmlAttribute()> Public Property rating() As Integer
            Get
                Return intRating
            End Get
            Set(ByVal value As Integer)
                intRating = value
            End Set
        End Property

        <XmlElement()> Public Property arcane() As List(Of spellCritChance)
            Get
                Return sccArcane
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccArcane = value
            End Set
        End Property

        <XmlElement()> Public Property fire() As List(Of spellCritChance)
            Get
                Return sccFire
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccFire = value
            End Set
        End Property

        <XmlElement()> Public Property frost() As List(Of spellCritChance)
            Get
                Return sccFrost
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccFrost = value
            End Set
        End Property

        <XmlElement()> Public Property holy() As List(Of spellCritChance)
            Get
                Return sccHoly
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccHoly = value
            End Set
        End Property

        <XmlElement()> Public Property nature() As List(Of spellCritChance)
            Get
                Return sccnature
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccnature = value
            End Set
        End Property

        <XmlElement()> Public Property shadow() As List(Of spellCritChance)
            Get
                Return sccShadow
            End Get
            Set(ByVal value As List(Of spellCritChance))
                sccShadow = value
            End Set
        End Property

    End Class

End Namespace